<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Cache extends CIC_A_Controller
{
	function __construct()
	{
		parent::__construct();
	}
	
	function delete_cache()
	{
		$this->load->helper('file');
		$cache_path = ($this->get_config('config','cache_path') == '')?APPPATH.'cache/':$this->get_config('config','cache_path');
		delete_files($cache_path);
		$this->message->msg('清楚成功！',site_url('admin/admin'));
	}
}